package com.huawei.sjp;

public class KnifeSauce {
    private Long id;
    private String name;
    private String color;
    private String high;
    private String gender;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public String toString(){
        return "动物名称：KnifeSauce{"+
                "动物id：" + id +
                ", 动物名字：'" + name + '\'' +
                ", 动物颜色：'" + color + '\'' +
                ", 动物身高：'" + high + '\'' +
                ", 动物性别：'" + gender + '\'' +
                '}';
    }

    public void king(){
        System.out.println("我是万能的刀酱！");
    }
}
